package com.bwie.service.impl;

import com.bwie.mapper.DianMapper;
import com.bwie.pojo.po.Dian;
import com.bwie.service.DianService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DianServiceImpl implements DianService {
    @Autowired
    private DianMapper dianMapper;

    @Override
    public List<Dian> getRechargeType() {

        List<Dian> list = dianMapper.getRechargeType();

        return list;
    }

    @Override
    public List<Dian> getDianList(String str) {
        List<Dian> list = dianMapper.getDianList(str);


        return list;
    }
}
